import Vue from 'vue'

import 'normalize.css/normalize.css' // A modern alternative to CSS resets

import '@/styles/index.scss' // global css
import App from './App'
import store from './store'
import router from './router'

import '@/icons' // icon
import '@/permission' // permission control
import '@/assets/smart-village-admin/iconfont.css'
import '@/assets/smart-village-admin/iconfont'

// markdown
import '@/plugins/markdown'
import '@/plugins/uploader'
// echarts图表
import '@/plugins/echarts'
// element-ui
import '@/plugins/element-ui'
// table
import Table from '@/components/Table/index.vue'

Vue.component('smart-table', Table)

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  render: (h) => h(App),
})
